﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TodoApp.LiveShopGoodsDTO
{
    /// <summary>
    ///  商品统一规范 Show DTO 
    /// </summary>
  public  class LiveShopGoodsShowDTO
    {
        /// <summary>
        ///   商品统一规范 Id 
        /// </summary>
        public int Id  { get; set; }

        /// <summary>
                /// 编码
                /// </summary>
        public string Encode { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string Names { get; set; }
        /// <summary>
        /// 简介
        /// </summary>
        public string Brief { get; set; }
        /// <summary>
        /// 销售价
        /// </summary>
        public decimal SalePrice { get; set; }
        /// <summary>
        /// 成本价
        /// </summary>
        public decimal CostPrice { get; set; }
        /// <summary>
        /// 市场价
        /// </summary>
        public decimal MarketPrice { get; set; }
        /// <summary>
                /// 图片地址
                /// </summary>
        public string Img { get; set; }
        /// <summary>
        /// 分类Id
        /// </summary>
        public int CategoryId { get; set; }
        /// <summary>
        /// 品牌Id
        /// </summary>
        public int BrandId { get; set; }
        /// <summary>
        /// 评论数量
        /// </summary>
        public int CommentsCount { get; set; }
        /// <summary>
        /// 浏览量
        /// </summary>
        public int ViewCount { get; set; }
        /// <summary>
        /// 已购买量
        /// </summary>
        public int BuyCount { get; set; }
        /// <summary>
        /// 上架时间
        /// </summary>
        public DateTime Uptime { get; set; } = DateTime.Now;
        /// <summary>
        /// 下架时间
        /// </summary>
        public DateTime Downtime { get; set; }
        /// <summary>
        /// 排序Id
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 是否推荐
        /// </summary>
        public bool IsRecommend { get; set; }
        /// <summary>
        /// 是否热度
        /// </summary>
        public bool IsHot { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel { get; set; } = false;

    }
}
